package com.cyf.wechat.network.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

/**
 * Created by cage on 2017/9/18.
 */
@ApiModel("受访者邀请访客请求")
public class WechatInviteReq extends WechatBusinessReq {

    @ApiModelProperty(value = "手机号", required = true)
    @NotBlank(message = "手机号码不能为空")
    @Length(min = 11, max = 11, message = "手机号码不正确")
    private String mobile;

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
}
